milena.event = {
	[0] = "BUTTON_CLICK",
	"BUTTON_PRESS",
	"BUTTON_STATE_CHANGED",
	"EDIT_VALUE_CHANGING",
	"EDIT_VALUE_CHANGED",
	"SELECT_SELECTION_CHANGED",
	"SELECT_STATE_CHANGED",

	"POPUP_REQUEST",
	"POPUP_READY",
	"POPUP_DISMISSED",
	
	"MENU_ITEM_ACTIVE",
	"MENU_ITEM_CLICK",
	
	[15] = "CONTEXT_MENU_SETUP",
	[16] = "CONTEXT_MENU_REQUEST",
	
	[17] = "VISIUAL_STATUS_CHANGED",

	[128] = "HYPERLINK_CLICK",
	[129] = "TABLE_HEADER_CLICK",
	[130] = "TABLE_ROW_CLICK",
	[131] = "TABLE_ROW_DBL_CLICK",
	
	[144] = "ELEMENT_COLLAPSED",
	[145] = "ELEMENT_EXPANDED",

	[146] = "ACTIVATE_CHILD",

	[147] = "INIT_DATA_VIEW",
	
	[148] = "ROWS_DATA_REQUEST",
	
	[149] = "UI_STATE_CHANGED",
	
	[150] = "FORM_SUBMIT",
	[151] = "FORM_RESET",
	
	[152] = "DOCUMENT_COMPLETE",

	[153] = "HISTORY_PUSH",
	[154] = "HISTORY_DROP",			   
	[155] = "HISTORY_PRIOR",
	[156] = "HISTORY_NEXT",

	[157] = "HISTORY_STATE_CHANGED",

	[158] = "CLOSE_POPUP",
	[159] = "REQUEST_TOOLTIP",

	[160] = "ANIMATION",

	[256] = "FIRST_APPLICATION_EVENT_CODE"
}
milena.key = {
	[0] = "KEY_DOWN",
	[1] = "KEY_UP",
	[2] = "KEY_CHAR"
}
milena.mouse = {
	[0] = "MOUSE_ENTER",
	[1] = "MOUSE_LEAVE",
	[2] = "MOUSE_MOVE",
	[3] = "MOUSE_UP",
	[4] = "MOUSE_DOWN",
	[5] = "MOUSE_DCLICK",
	[6] = "MOUSE_WHEEL", 
	[7] = "MOUSE_TICK",
	[8] = "MOUSE_IDLE",

	[9] = "DROP",
	[10] = "DRAG_ENTER",
	[11] = "DRAG_LEAVE",
	[12] = "DRAG_REQUEST",

	[255] = "MOUSE_CLICK = 0xFF",

	[0x100] = "DRAGGING"
}